package com.yl.cap.analyst.user.domain;

import java.util.List;

/**
 * <p>
 * </p>
 */
public class Group
{

    /**
     * <p>
     * Represents ...
     * </p>
     */
    private String id;

    /**
     * <p>
     * Represents ...
     * </p>
     */
    private String name;

    private List reportLevel;
    
    private List users;
    
    private String popedomField;
    
    /**
     * @return Returns the popedomField.
     */
    public String getPopedomField()
    {
        return popedomField;
    }
    /**
     * @param popedomField The popedomField to set.
     */
    public void setPopedomField(String popedomField)
    {
        this.popedomField = popedomField;
    }
    /**
     * @return Returns the id.
     */
    public String getId()
    {
        return id;
    }
    /**
     * @param id The id to set.
     */
    public void setId(String id)
    {
        this.id = id;
    }
    /**
     * @return Returns the name.
     */
    public String getName()
    {
        return name;
    }
    /**
     * @param name The name to set.
     */
    public void setName(String name)
    {
        this.name = name;
    }
    /**
     * @return Returns the reportLevel.
     */
    public List getReportLevel()
    {
        return reportLevel;
    }
    /**
     * @param reportLevel The reportLevel to set.
     */
    public void setReportLevel(List reportLevel)
    {
        this.reportLevel = reportLevel;
    }
    /**
     * @return Returns the viewers.
     */
    public List getUsers()
    {
        return users;
    }
    /**
     * @param viewers The viewers to set.
     */
    public void setUsers(List viewers)
    {
        this.users = viewers;
    }
    
    public boolean equals(Object obj)
    {
        if (obj instanceof Group)
        {
            if (((Group)obj).getId().equals(this.getId()))
            {
                return true;    
            }
        }
        return false;
    }
}